﻿<?php 
if (!isset($_SESSION["taikhoan"]))
	{
		header("Location: cnk-dangnhap.php");
	}
   header('Content-type: application/msword');
   $filename="lophocphan";
   header('Content-Disposition: attachment; filename="'.$filename.'.doc"');
  
?>
<?php
      include "connect.php";
      $ma_hp=$_REQUEST["ma"];
	  $hknk=$_REQUEST["hk"];
	  $stt=$_REQUEST["nhom"];
	  $tam=mysql_query("select * from `hocki nienkhoa` where ma_hknk='$hknk' ");
	  $t=mysql_fetch_row($tam);
	  $hk=$t[1];$nk=$t[2];
	  $sql=mysql_query("select ten_hp,sotinchi,ten_gv,a.ma_gv,ten_bm,ten_khoa from `lop hoc phan` a, `hoc phan` b, `giang vien` c, `bo mon` d, khoa e where a.ma_hp='$ma_hp' and a.stt_nhom='$stt' and a.ma_hknk='$hknk' and a.ma_gv=c.ma_gv and c.ma_bm=d.ma_bm and d.ma_khoa=e.ma_khoa and a.ma_hp=b.ma_hp");
	  $r=mysql_fetch_row($sql);
	  $tenhp=$r[0];
	  $stc=$r[1];
	  $tengv=$r[2];
	  $magv=$r[3];
	  $tenbm=$r[4];
	  $tenkhoa=$r[5];
	  $s=mysql_query("select sisolop_hp from `lop hoc phan` where ma_hp='$ma_hp' and ma_hknk='$hknk' and stt_nhom='$stt'");
	  $s1=mysql_fetch_row($s);
	  $ss=$s1[0];
	  $dem=0;
	  $k=mysql_query("select distinct (ma_sv) from `danh gia` where ma_hp='$ma_hp' and stt_nhom='$stt' and ma_hknk='$hknk'");
		while($k1=mysql_fetch_row($k))
		{
		       $ma=$k1[0];
			   $dem++;
		}
?>
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns:st1="urn:schemas-microsoft-com:office:smarttags"
xmlns="http://www.w3.org/TR/REC-html40">
 
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 11">
<meta name=Originator content="Microsoft Word 11">
<link rel=File-List href="657A0EEE_files/filelist.xml">
<link rel=Edit-Time-Data href="657A0EEE_files/editdata.mso">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>TR&#431;&#7900;NG &#272;&#7840;I H&#7884;C C&#7846;N TH&#416;           
            C&#7896;NG H&Ograve;A X&Atilde; H&#7896;I CH&#7910; NGH&#296;A
VI&#7878;T NAM</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>DELL</o:Author>
  <o:LastAuthor>DELL</o:LastAuthor>
  <o:Revision>9</o:Revision>
  <o:TotalTime>26</o:TotalTime>
  <o:Created>2012-03-30T07:43:00Z</o:Created>
  <o:LastSaved>2012-03-30T08:20:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>117</o:Words>
  <o:Characters>672</o:Characters>
  <o:Lines>5</o:Lines>
  <o:Paragraphs>1</o:Paragraphs>
  <o:CharactersWithSpaces>788</o:CharactersWithSpaces>
  <o:Version>11.5606</o:Version>
 </o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Print</w:View>
  <w:GrammarState>Clean</w:GrammarState>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]--><!--[if !mso]><object
 classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></object>
<style>
st1\:*{behavior:url(#ieooui) }
</style>
<![endif]-->
<style> 
<!--
 /* Font Definitions */
 @font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;
	mso-font-charset:2;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:0 268435456 0 0 -2147483648 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:10.0in 841.7pt;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:788671371;
	mso-list-type:hybrid;
	mso-list-template-ids:1714159970 67698695 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-number-format:image;
	list-style-image:url("657A0EEE_files/image001.gif");
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1
	{mso-list-id:1724869632;
	mso-list-type:hybrid;
	mso-list-template-ids:-833745658 1037721604 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:43.5pt;
	mso-level-number-position:left;
	margin-left:43.5pt;
	text-indent:-.25in;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
table.MsoTableGrid
	{mso-style-name:"Table Grid";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	border:solid windowtext 1.0pt;
	mso-border-alt:solid windowtext .5pt;
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-border-insideh:.5pt solid windowtext;
	mso-border-insidev:.5pt solid windowtext;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1"/>
 </o:shapelayout></xml><![endif]-->
</head>
 
<body lang=EN-US style='tab-interval:.5in'>
 
<div class=Section1>
 
<p class=MsoNormal><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600"
 o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f"
 stroked="f">
 <v:stroke joinstyle="miter"/>
 <v:formulas>
  <v:f eqn="if lineDrawn pixelLineWidth 0"/>
  <v:f eqn="sum @0 1 0"/>
  <v:f eqn="sum 0 0 @1"/>
  <v:f eqn="prod @2 1 2"/>
  <v:f eqn="prod @3 21600 pixelWidth"/>
  <v:f eqn="prod @3 21600 pixelHeight"/>
  <v:f eqn="sum @0 0 1"/>
  <v:f eqn="prod @6 1 2"/>
  <v:f eqn="prod @7 21600 pixelWidth"/>
  <v:f eqn="sum @8 21600 0"/>
  <v:f eqn="prod @7 21600 pixelHeight"/>
  <v:f eqn="sum @10 21600 0"/>
 </v:formulas>
 <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
 <o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_s1026" type="#_x0000_t75" style='position:absolute;
 margin-left:-1in;margin-top:-18pt;width:1in;height:60pt;z-index:1'>
 <v:imagedata src="657A0EEE_files/image002.png" o:title="logo"/>
 <w:wrap type="square" side="right"/>
</v:shape><![endif]--><![if !vml]><img width=96 height=80
src="657A0EEE_files/image003.gif" align=left hspace=12 v:shapes="_x0000_s1026"><![endif]><b
style='mso-bidi-font-weight:normal'><span style='font-size:13.0pt'>TR&#431;&#7900;NG
&#272;&#7840;I H&#7884;C C&#7846;N TH&#416;<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>C&#7896;NG
H&Ograve;A X&Atilde; H&#7896;I CH&#7910; NGH&#296;A VI&#7878;T <st1:country-region
w:st="on"><st1:place w:st="on">NAM</st1:place></st1:country-region><o:p></o:p></span></b></p>
 
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
style='font-size:13.0pt'>Khoa: <?php echo $tenkhoa; ?></span></b><span style='font-size:13.0pt'> <span
style='mso-tab-count:7'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><b
style='mso-bidi-font-weight:normal'>&#272;&#7897;c l&#7853;p - t&#7921; do -
h&#7841;nh ph&uacute;c<o:p></o:p></b></span></p>
 
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
style='font-size:13.0pt'><o:p>&nbsp;</o:p></span></b></p>
 
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
style='font-size:13.0pt'><o:p>&nbsp;</o:p></span></b></p>
 
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
style='font-size:13.0pt'><o:p>&nbsp;</o:p></span></b></p>
 
<p class=MsoNormal align=center style='text-align:center'><b style='mso-bidi-font-weight:
normal'><span style='font-size:20.0pt'>K&#7870;T QU&#7842; &#272;&Aacute;NH
GI&Aacute; H&#7884;C PH&#7846;N<o:p></o:p></span></b></p>
 
<p class=MsoNormal align=center style='text-align:center'><b style='mso-bidi-font-weight:
normal'><span style='font-size:16.0pt'>H&#7885;c k&igrave; <?php echo $hk; ?> (<?php echo $nk; ?>)<o:p></o:p></span></b></p>
 
<p class=MsoNormal align=center style='text-align:center'><b style='mso-bidi-font-weight:
normal'><span style='font-size:13.0pt'><o:p>&nbsp;</o:p></span></b></p>
 
<p class=MsoNormal align=center style='text-align:center'><b style='mso-bidi-font-weight:
normal'><span style='font-size:13.0pt'><o:p>&nbsp;</o:p></span></b></p>
 
<p class=MsoNormal align=center style='text-align:center'><b style='mso-bidi-font-weight:
normal'><span style='font-size:13.0pt'><o:p>&nbsp;</o:p></span></b></p>
 
<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1;
tab-stops:list .5in center 3.75in'><![if !supportLists]><span style='font-size:
16.0pt;font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:
Symbol'><span style='mso-list:Ignore'><img width=19 height=19
src="657A0EEE_files/image001.gif" alt="*"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;
</span></span></span><![endif]><b style='mso-bidi-font-weight:normal'><span
style='font-size:16.0pt'>Th&ocirc;ng tin chung:<o:p></o:p></span></b></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><b style='mso-bidi-font-weight:
normal'><span style='font-size:16.0pt'><o:p>&nbsp;</o:p></span></b></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><b style='mso-bidi-font-weight:
normal'><span style='font-size:16.0pt'><o:p>&nbsp;</o:p></span></b></p>
 
<p class=MsoNormal style='margin-left:43.5pt;text-indent:-.25in;mso-list:l1 level1 lfo2;
tab-stops:list 43.5pt center 3.75in'><![if !supportLists]><span
style='font-size:14.0pt'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:14.0pt'>T&ecirc;n
H&#7885;c Ph&#7847;n: <?php echo $tenhp; ?><span style='mso-spacerun:yes'>&nbsp; </span><o:p></o:p></span></p>
 
<p class=MsoNormal style='margin-left:43.5pt;tab-stops:center 3.75in'><span
style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><b
style='mso-bidi-font-weight:normal'><o:p></o:p></b></span></p>
 
<p class=MsoNormal style='margin-left:43.5pt;text-indent:-.25in;mso-list:l1 level1 lfo2;
tab-stops:list 43.5pt center 3.75in'><![if !supportLists]><span
style='font-size:14.0pt'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:14.0pt'>M&atilde; <span
class=GramE>S&#7889;<span style='mso-spacerun:yes'>&nbsp; </span>H&#7885;c</span>
Ph&#7847;n: <?php echo $ma_hp; ?> <span style='mso-tab-count:1'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><o:p></o:p></span></p>
 
<p class=MsoNormal style='margin-left:25.5pt;tab-stops:center 3.75in'><span
style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='margin-left:25.5pt;tab-stops:center 3.75in'><span
style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='margin-left:43.5pt;text-indent:-.25in;mso-list:l1 level1 lfo2;
tab-stops:list 43.5pt center 3.75in'><![if !supportLists]><span
style='font-size:14.0pt'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:14.0pt'>M&atilde;
S&#7889; L&#7899;p Hoc Ph&#7847;n: <?php echo $ma_hp ?><?php echo $hknk; ?><?php echo $stt; ?><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><o:p></o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='margin-left:43.5pt;text-indent:-.25in;mso-list:l1 level1 lfo2;
tab-stops:list 43.5pt center 3.75in'><![if !supportLists]><span
style='font-size:14.0pt'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:14.0pt'>S&#7889;
T&iacute;n Ch&#7881;: <?php echo $stc; ?><o:p></o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='margin-left:43.5pt;text-indent:-.25in;mso-list:l1 level1 lfo2;
tab-stops:list 43.5pt center 3.75in'><![if !supportLists]><span
style='font-size:14.0pt'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:14.0pt'>H&#7885;
v&agrave; T&ecirc;n Gi&#7843;ng Vi&ecirc;n: <?php echo $tengv; ?><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><o:p></o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='margin-left:43.5pt;text-indent:-.25in;mso-list:l1 level1 lfo2;
tab-stops:list 43.5pt center 3.75in'><![if !supportLists]><span
style='font-size:14.0pt'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:14.0pt'>M&atilde;
S&#7889; C&aacute;n B&#7897;: <?php echo $magv; ?><o:p></o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='margin-left:43.5pt;text-indent:-.25in;mso-list:l1 level1 lfo2;
tab-stops:list 43.5pt center 3.75in'><![if !supportLists]><span
style='font-size:14.0pt'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:14.0pt'>B&#7897;
M&ocirc;n: <?php echo $tenbm; ?> <o:p></o:p></span></p>
 
<p class=MsoNormal style='margin-left:43.5pt;tab-stops:center 3.75in'><span
style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='margin-left:25.5pt;tab-stops:center 3.75in'><span
style='font-size:14.0pt'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><o:p></o:p></span></p>
 
<p class=MsoNormal style='margin-left:43.5pt;text-indent:-.25in;mso-list:l1 level1 lfo2;
tab-stops:list 43.5pt center 3.75in'><![if !supportLists]><span
style='font-size:14.0pt'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:14.0pt'>Khoa/Vi&#7879;n/&#272;&#417;n
v&#7883;: <?php echo $tenkhoa; ?><o:p></o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:13.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1;
tab-stops:list .5in center 3.75in'><![if !supportLists]><span style='font-size:
16.0pt;font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:
Symbol'><span style='mso-list:Ignore'><img width=19 height=19
src="657A0EEE_files/image001.gif" alt="*"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;
</span></span></span><![endif]><b style='mso-bidi-font-weight:normal'><span
style='font-size:16.0pt'>K&#7871;t Qu&#7843; &#272;&aacute;nh Gi&aacute;:<o:p></o:p></span></b></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><b style='mso-bidi-font-weight:
normal'><span style='font-size:16.0pt'><o:p>&nbsp;</o:p></span></b></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><b style='mso-bidi-font-weight:
normal'><span style='font-size:16.0pt'><o:p>&nbsp;</o:p></span></b></p>
 
        <table width="1000" align="center" cellspacing="0" border="1" bordercolor="#0066FF" cellpadding="0">
                            
      		<tr align="center" bgcolor="#CCCCCC">
            	<td width="500" height="40" class="bg"><span class="style7">Nội Dung Đánh Giá</span>				</td>
       	  	  	<td width="146" class="bg">
				          <span class="style7">Chưa Hài Lòng</span>				</td>
				<td width="112" class="bg">
				          <span class="style7">Hài Lòng</span>				</td>
				<td width="118" class="bg">
				          <span class="style7">Rất Hài Lòng</span>				</td>
				<td width="112" class="bg1">
				          <span class="style7">Xuất Sắc</span>				</td>
				
       	  	</tr>

		   <?php
		           
					
					    $sql=mysql_query("select a.ma_tc,a.noidung_tc from `tieu chi` a, `tieuchi hocki` b where a.ma_tc=b.ma_tc and b.ma_hknk='$hknk' ");
						
						while($row=mysql_fetch_row($sql))
						{
						   $matc=$row[0];
						   $noidung=$row[1];
						   $sql1=mysql_query("select ma_tc,`muc danh gia`,count(*) from `danh gia` where  stt_nhom='$stt' and ma_hp='$ma_hp' and ma_hknk='$hknk' and ma_tc='$matc' and `muc danh gia`='1' group by `muc danh gia`,ma_tc");
						   $sql2=mysql_query("select ma_tc,`muc danh gia`,count(*) from `danh gia` where  stt_nhom='$stt' and ma_hp='$ma_hp' and ma_hknk='$hknk' and ma_tc='$matc' and `muc danh gia`='2' group by `muc danh gia`,ma_tc");
						   $sql3=mysql_query("select ma_tc,`muc danh gia`,count(*) from `danh gia` where  stt_nhom='$stt' and ma_hp='$ma_hp' and ma_hknk='$hknk' and ma_tc='$matc' and `muc danh gia`='3' group by `muc danh gia`,ma_tc");
						   $sql4=mysql_query("select ma_tc,`muc danh gia`,count(*) from `danh gia` where  stt_nhom='$stt' and ma_hp='$ma_hp' and ma_hknk='$hknk' and ma_tc='$matc' and `muc danh gia`='4' group by `muc danh gia`,ma_tc");
						   if(mysql_num_rows($sql1)==0) $muc1=0;
						   else
						   {
						   $r1=mysql_fetch_row($sql1);
						   $muc1=$r1[2];
						   }
						   if(mysql_num_rows($sql2)==0) $muc2=0;
						   else
						   {
						   $r2=mysql_fetch_row($sql2);
						   $muc2=$r2[2];
						   }
						   if(mysql_num_rows($sql3)==0) $muc3=0;
						   else
						   {
						   $r3=mysql_fetch_row($sql3);
						   $muc3=$r3[2];
						   }
						   if(mysql_num_rows($sql4)==0) $muc4=0;
						   else
						   {
						   $r4=mysql_fetch_row($sql4);
						   $muc4=$r4[2];
						   }
						   ?>
						   <tr>
						       <td class="bg" height="50" style="font-size:18px;">
							         <?php echo "&nbsp;&nbsp; $matc. $noidung"; ?> 
							   </td>
					
							   <td class="bg" align="center">
							        <?php 
										  echo "$muc1 &nbsp;&nbsp; SV";
										  
									?>
							   </td>
							   <td class="bg" align="center">
							        <?php
									       
										  echo "$muc2 &nbsp;&nbsp; SV";
									?>
							   </td>
							   <td class="bg" align="center">
							         <?php
									      
										   echo "$muc3 &nbsp;&nbsp; SV";
									 ?>
							   </td>
							   <td class="bg1" align="center">
							          <?php
									       echo "$muc4 &nbsp;&nbsp; SV";
										   
									?>
							   </td> 
							     
                           </tr>
						   <?php
						      
						}//while
						 
					 
		   ?>
		  
		   <tr> <td height="50" colspan="5" >
				<table width="100%"> <tr >
					<td width="98%" ><label><div align="right">
					             <table cellpadding="0" cellspacing="0" border="0"  height="40"  >
								       <tr >
									         <td  class="style6" align="right" style="font-size:18px; font-weight:bold">
											 Sỉ Số Lớp Học Phần: <?php echo $ss; ?><br />
											 Số Lượng Sinh Viên Tham Gia Đánh Giá: <?php echo $dem; ?>
											 
											 </td>
									   </tr>
								 </table>
					                 </div></label></td>
					<td width="2%"></td>
				</tr> </table>
                </td> 
	      </tr>
		  </table>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><b style='mso-bidi-font-weight:
normal'><span style='font-size:16.0pt'><o:p>&nbsp;</o:p></span></b></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><b style='mso-bidi-font-weight:
normal'><span style='font-size:16.0pt'><o:p>&nbsp;</o:p></span></b></p>
 
<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1;
tab-stops:list .5in center 3.75in'><![if !supportLists]><span style='font-size:
13.0pt;font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:
Symbol'><span style='mso-list:Ignore'><img width=15 height=15
src="657A0EEE_files/image001.gif" alt="*"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><b style='mso-bidi-font-weight:normal'><span
style='font-size:16.0pt'>&Yacute; Ki&#7871;n Kh&aacute;c</span></b><span
style='font-size:13.0pt'>:<o:p></o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:13.0pt'><o:p>&nbsp;</o:p></span></p>
 
<p class=MsoNormal style='tab-stops:center 3.75in'><span style='font-size:13.0pt'><span
style='mso-tab-count:1'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                       <?php
															$t=mysql_query("select ghi_chu from hoc where stt_nhom='$stt' and ma_hknk='$hknk' and ma_hp='$ma_hp'"); 
															while ($t1=mysql_fetch_row($t))
															{	$t2=$t1[0];
																if($t2=="") echo "";
																else
																		echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $t2<br/>";
															}?>
																</span></span><br
clear=all style='mso-special-character:line-break'>
</p>
 
</div>
 
</body>
 
</html>


